//
//  customView.h
//  Edu_iOS2018
//
//  Created by apple on 2018/1/19.
//  Copyright © 2018年 yanyan. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    ///取消收藏
    tipTypeOfCancelFavorite = 0,
    ///取消订单
    tipTypeOfCancelOrder = 1,
    ///意见反馈
    tipTypeOfFeedback = 2
}TipType;

@protocol ECTipCustomViewDelegate <NSObject>
@required
///确定按钮被点击
- (void)tipCustomViewOfSureBtnClickWithRow:(NSInteger)row;

@end


@interface ECTipCustomView : NSObject

@property(nonatomic, weak) id <ECTipCustomViewDelegate> delegate;
///提示框类型
@property (nonatomic, assign) TipType type;

/**
 @param tiptype 选种类型
 @param row 当前选中row
 */
-(void)showTipviewWithTpe:(TipType)tiptype andIndexPath:(NSInteger)row;
@end

